package sd.zhr.moodcapsule.mapper;

import org.apache.ibatis.annotations.Mapper;
import sd.zhr.moodcapsule.pojo.Tag;

import java.util.List;

@Mapper
public interface TagMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Tag record);

    int insertSelective(Tag record);

    Tag selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Tag record);

    int updateByPrimaryKey(Tag record);
    //获取所有tag
    List<Tag> selectAll();
}